package com.ruoyi.flow.service;

import com.ruoyi.flow.entity.event.FlowEvent;
import com.ruoyi.flow.entity.event.NodeEvent;
import com.ruoyi.flow.entity.machine.Flow;
import com.ruoyi.flow.entity.machine.Node;

public interface FlowEventService {

    FlowEvent getFlowEvent(String machineId);

    NodeEvent getNodeEvent(String machineId, String nodeId);

    NodeEvent getNodeEvent(Flow flow, Node node);

}
